import request from '../utils/requst.js'

export function Login (user) {
  return request({
    url: '/v1_0/authorizations',
    method: 'POST',
    data: user
  })
}
export const getProfile = () => {
  return request({
    url: '/v1_0/user/profile', // 接口地址
    method: 'GET' // 方式
  })
}
